package com.qwz.learn;
/**
* @Description: 调用者
* @Package com.qwz.learn.Invoker
* @author Qiuwuzhi
* @date 2019/12/26 11:21
* @version V1.0
*/
public class Invoker {

    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void runCommand(){
        this.command.execute();
    }
}
